package com.mooc.ppjoke

import com.alibaba.android.arouter.launcher.ARouter
import com.mooc.lib_common.CommonApp
import com.umeng.commonsdk.UMConfigure
import com.umeng.socialize.PlatformConfig

class App: CommonApp() {
    override fun onCreate() {
        super.onCreate()
        //ARouter 框架初始化
        ARouter.openLog()//打印日志
        ARouter.openDebug()
        ARouter.init(this)
        UMConfigure.setLogEnabled(true)
        UMConfigure.init(this,"6141e36a517ed710204f621b"
            ,"bw",UMConfigure.DEVICE_TYPE_PHONE,"")
        // 新浪微博设置
        PlatformConfig.setSinaWeibo("2282943531",
            "525cbeebed4eedd60e4a0dfe73a81e7d","https://www.baidu.com")
    }
}